﻿namespace MyCode.Project.Domain.Message.Request.MeiTuan
{
    public class GetConsumedReq
    {

        /// <summary>
        /// 团购券码
        /// </summary>
        public string receiptCode{ get; set; }

    }

    public class GetConsumeReq
    {

        /// <summary>
        /// 团购券码，必须未验证
        /// </summary>
        public string receiptCode{ get; set; }

        /// <summary>
        /// 验券数量, 不可多于100个
        /// </summary>
        public int count{ get; set; }

        /// <summary>
        /// 请求ID，用于幂等
        /// </summary>
        public string requestId{ get; set; }

        /// <summary>
        /// 商家在自研系统或第三方服务商系统内登陆的用户名，仅用于记录验券者的信息，该字段不参与任何验券校验逻辑
        /// </summary>
        public string appShopAccountName{ get; set; }

        /// <summary>
        /// 商家在自研系统或第三方服务商系统内登录的帐号，仅用于记录验券者的信息，该字段不参与任何验券校验逻辑
        /// </summary>
        public string appShopAccount{ get; set; }

    }

    public class MeituanPrepareReq
    {

        /// <summary>
        /// 团购券码，必须未验证
        /// </summary>
        public string receiptCode{ get; set; }

    }


    public class MeituanReverseConsumeReq
    {

        /// <summary>
        /// 商家在自研系统或第三方服务商系统内登录的帐号，仅用于记录验券者的信息，该字段不参与任何验券校验逻辑
        /// </summary>
        public string appShopAccount{ get; set; }

        /// <summary>
        /// 商家在自研系统或第三方服务商系统内登陆的用户名，仅用于记录验券者的信息，该字段不参与任何验券校验逻辑
        /// </summary>
        public string appShopAccountName{ get; set; }

        /// <summary>
        /// 团购券码，注：撤销核销只能撤销当前核销且核销未超过10分钟的券
        /// </summary>
        public string receiptCode{ get; set; }

        /// <summary>
        /// 套餐ID，注意：对应dealId，非dealgroupId
        /// </summary>
        public string dealId{ get; set; }

    }


}
